﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for RandomGenerator
/// </summary>
public class RandomNameGenerator
{
    public RandomNameGenerator()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    public static string getRandomName()
    {
        string unique_name = Guid.NewGuid().ToString().Replace("-", string.Empty);
        return unique_name;
    }
    Random rand = new Random();
    public int getRandomNo()
    {
        //string unique_name = Guid.NewGuid().ToString().Replace("-", string.Empty);
        //return unique_name;
        return rand.Next(00000, 99999);
    }
    
}
